//
// Created by Tokamak on 2025/8/27.
//

#include "PhysicsSystem.h"

NS_RIDER_BEGIN

    void PhysicsSystem::configure(EntityManager& entities, EventManager& events) {

    }

    void PhysicsSystem::update(EntityManager& entities, EventManager& events, TimeDelta dt) {
        for (auto item: entities.entities_with_components<UniformRectilinearMotion>()) {
            ProcessUniformRectilinearMotion(item);
        }
    }

    void PhysicsSystem::ProcessUniformRectilinearMotion(Entity& entity) {
        ComponentHandle<UniformRectilinearMotion> motion = entity.component<UniformRectilinearMotion>();

    }

NS_RIDER_END
